﻿<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="ReporteLaboratorialDs" targetNamespace="http://tempuri.org/ReporteLaboratorialDs.xsd" xmlns:mstns="http://tempuri.org/ReporteLaboratorialDs.xsd" xmlns="http://tempuri.org/ReporteLaboratorialDs.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:msprop="urn:schemas-microsoft-com:xml-msprop" attributeFormDefault="qualified" elementFormDefault="qualified">
  <xs:annotation>
    <xs:appinfo source="urn:schemas-microsoft-com:xml-msdatasource">
      <DataSource DefaultConnectionIndex="0" FunctionsComponentName="QueriesTableAdapter" Modifier="AutoLayout, AnsiClass, Class, Public" SchemaSerializationMode="IncludeSchema" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
        <Connections>
          <Connection AppSettingsObjectName="Settings" AppSettingsPropertyName="SaludOcupacionalConnectionString" ConnectionStringObject="" IsAppSettingsProperty="true" Modifier="Assembly" Name="SaludOcupacionalConnectionString (Settings)" ParameterPrefix="@" PropertyReference="ApplicationSettings.SaludOcupacional.Properties.Settings.GlobalReference.Default.SaludOcupacionalConnectionString" Provider="System.Data.SqlClient" />
        </Connections>
        <Tables>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="DataTable1TableAdapter" GeneratorDataComponentClassName="DataTable1TableAdapter" Name="DataTable1" UserDataComponentName="DataTable1TableAdapter">
            <MainSource>
              <DbSource ConnectionRef="SaludOcupacionalConnectionString (Settings)" DbObjectType="Unknown" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="false" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT        DiagnosticoLaboratorial.cod_diagnostico, Empleado.nombre, Empleado.apellido_paterno, Empleado.apellido_materno, DiagnosticoLaboratorial.widal, 
                         DiagnosticoLaboratorial.chagas, DiagnosticoLaboratorial.diabetes, DiagnosticoLaboratorial.hepatitis, DiagnosticoLaboratorial.vih, 
                         DiagnosticoLaboratorial.analisis_orina, DiagnosticoLaboratorial.vdrl
FROM            DiagnosticoLaboratorial INNER JOIN
                         Empleado ON DiagnosticoLaboratorial.ci_empleado = Empleado.ci</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="cod_diagnostico" DataSetColumn="cod_diagnostico" />
              <Mapping SourceColumn="nombre" DataSetColumn="nombre" />
              <Mapping SourceColumn="apellido_paterno" DataSetColumn="apellido_paterno" />
              <Mapping SourceColumn="apellido_materno" DataSetColumn="apellido_materno" />
              <Mapping SourceColumn="widal" DataSetColumn="widal" />
              <Mapping SourceColumn="chagas" DataSetColumn="chagas" />
              <Mapping SourceColumn="diabetes" DataSetColumn="diabetes" />
              <Mapping SourceColumn="hepatitis" DataSetColumn="hepatitis" />
              <Mapping SourceColumn="vih" DataSetColumn="vih" />
              <Mapping SourceColumn="analisis_orina" DataSetColumn="analisis_orina" />
              <Mapping SourceColumn="vdrl" DataSetColumn="vdrl" />
            </Mappings>
            <Sources />
          </TableAdapter>
        </Tables>
        <Sources />
      </DataSource>
    </xs:appinfo>
  </xs:annotation>
  <xs:element name="ReporteLaboratorialDs" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="True" msprop:Generator_DataSetName="ReporteLaboratorialDs" msprop:Generator_UserDSName="ReporteLaboratorialDs">
    <xs:complexType>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:element name="DataTable1" msprop:Generator_TableClassName="DataTable1DataTable" msprop:Generator_TableVarName="tableDataTable1" msprop:Generator_TablePropName="DataTable1" msprop:Generator_RowDeletingName="DataTable1RowDeleting" msprop:Generator_UserTableName="DataTable1" msprop:Generator_RowChangingName="DataTable1RowChanging" msprop:Generator_RowEvHandlerName="DataTable1RowChangeEventHandler" msprop:Generator_RowDeletedName="DataTable1RowDeleted" msprop:Generator_RowEvArgName="DataTable1RowChangeEvent" msprop:Generator_RowChangedName="DataTable1RowChanged" msprop:Generator_RowClassName="DataTable1Row">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="cod_diagnostico" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columncod_diagnostico" msprop:Generator_ColumnPropNameInRow="cod_diagnostico" msprop:Generator_ColumnPropNameInTable="cod_diagnosticoColumn" msprop:Generator_UserColumnName="cod_diagnostico" type="xs:int" />
              <xs:element name="nombre" msprop:Generator_ColumnVarNameInTable="columnnombre" msprop:Generator_ColumnPropNameInRow="nombre" msprop:Generator_ColumnPropNameInTable="nombreColumn" msprop:Generator_UserColumnName="nombre">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="100" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="apellido_paterno" msprop:Generator_ColumnVarNameInTable="columnapellido_paterno" msprop:Generator_ColumnPropNameInRow="apellido_paterno" msprop:Generator_ColumnPropNameInTable="apellido_paternoColumn" msprop:Generator_UserColumnName="apellido_paterno">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="100" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="apellido_materno" msprop:Generator_ColumnVarNameInTable="columnapellido_materno" msprop:Generator_ColumnPropNameInRow="apellido_materno" msprop:Generator_ColumnPropNameInTable="apellido_maternoColumn" msprop:Generator_UserColumnName="apellido_materno" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="100" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="widal" msprop:Generator_ColumnVarNameInTable="columnwidal" msprop:Generator_ColumnPropNameInRow="widal" msprop:Generator_ColumnPropNameInTable="widalColumn" msprop:Generator_UserColumnName="widal" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="chagas" msprop:Generator_ColumnVarNameInTable="columnchagas" msprop:Generator_ColumnPropNameInRow="chagas" msprop:Generator_ColumnPropNameInTable="chagasColumn" msprop:Generator_UserColumnName="chagas" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="diabetes" msprop:Generator_ColumnVarNameInTable="columndiabetes" msprop:Generator_ColumnPropNameInRow="diabetes" msprop:Generator_ColumnPropNameInTable="diabetesColumn" msprop:Generator_UserColumnName="diabetes" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="hepatitis" msprop:Generator_ColumnVarNameInTable="columnhepatitis" msprop:Generator_ColumnPropNameInRow="hepatitis" msprop:Generator_ColumnPropNameInTable="hepatitisColumn" msprop:Generator_UserColumnName="hepatitis" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="vih" msprop:Generator_ColumnVarNameInTable="columnvih" msprop:Generator_ColumnPropNameInRow="vih" msprop:Generator_ColumnPropNameInTable="vihColumn" msprop:Generator_UserColumnName="vih" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="analisis_orina" msprop:Generator_ColumnVarNameInTable="columnanalisis_orina" msprop:Generator_ColumnPropNameInRow="analisis_orina" msprop:Generator_ColumnPropNameInTable="analisis_orinaColumn" msprop:Generator_UserColumnName="analisis_orina" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="vdrl" msprop:Generator_ColumnVarNameInTable="columnvdrl" msprop:Generator_ColumnPropNameInRow="vdrl" msprop:Generator_ColumnPropNameInTable="vdrlColumn" msprop:Generator_UserColumnName="vdrl" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
      </xs:choice>
    </xs:complexType>
  </xs:element>
</xs:schema>